--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
android/app/src/main/java/com/meshchatx/CallNotificationTrampolineActivity.java 65f1b2cc77b1a36bc3222635cb7779720820185b (65f1b2cc) Text, 1.29 KB
Tff7b72package T7ee787com.meshchatxTb4b4b4;
Tff7b72import T7ee787android.app.ActivityTb4b4b4;
Tff7b72import T7ee787android.content.IntentTb4b4b4;
Tff7b72import T7ee787android.os.BundleTb4b4b4;
T8b949e/**
* Non-exported trampoline for incoming-call notification actions.
*
* <p>PendingIntents for answer/decline must not target the exported {@link MainActivity}.
* Same-profile apps can forge intents to exported activities. This component stays
* package-private so only our notification PendingIntents can start it.
*/
Tff7b72public Tff7b72final Tff7b72class T56d364CallNotificationTrampolineActivity Tff7b72extends Te6edf3Activity Tb4b4b4{
Tf0883e@Override
Tff7b72protected Tffa657void Td2a8ffonCreateTb4b4b4(Te6edf3Bundle Te6edf3savedInstanceStateTb4b4b4) Tb4b4b4{
Tff7b72superTb4b4b4.Te6edf3onCreateTb4b4b4(Te6edf3savedInstanceStateTb4b4b4)Tb4b4b4;
Te6edf3Intent Te6edf3inbound Tff7b72= Te6edf3getIntentTb4b4b4(Tb4b4b4)Tb4b4b4;
Te6edf3String Te6edf3action Tff7b72= Te6edf3inbound Tff7b72!Tff7b72= Tff7b72null Tff7b72? Te6edf3inboundTb4b4b4.Te6edf3getActionTb4b4b4(Tb4b4b4) Tb4b4b4: Tff7b72nullTb4b4b4;
Te6edf3String Te6edf3trusted Tff7b72= Te6edf3AndroidNotificationBridgeTb4b4b4.Te6edf3mapCallNotificationActionTb4b4b4(Te6edf3actionTb4b4b4)Tb4b4b4;
Tff7b72if Tb4b4b4(Te6edf3trusted Tff7b72!Tff7b72= Tff7b72nullTb4b4b4) Tb4b4b4{
Te6edf3AndroidNotificationBridgeTb4b4b4.Te6edf3offerTrustedCallActionTb4b4b4(Te6edf3trustedTb4b4b4)Tb4b4b4;
Tb4b4b4}
Te6edf3Intent Te6edf3main Tff7b72= Tff7b72new Te6edf3IntentTb4b4b4(Tff7b72thisTb4b4b4, Te6edf3MainActivityTb4b4b4.Te6edf3classTb4b4b4)Tb4b4b4;
Te6edf3mainTb4b4b4.Te6edf3addFlagsTb4b4b4(
Te6edf3IntentTb4b4b4.Te6edf3FLAG_ACTIVITY_NEW_TASK
Tff7b72| Te6edf3IntentTb4b4b4.Te6edf3FLAG_ACTIVITY_CLEAR_TOP
Tff7b72| Te6edf3IntentTb4b4b4.Te6edf3FLAG_ACTIVITY_SINGLE_TOP
Tb4b4b4)Tb4b4b4;
Tff7b72try Tb4b4b4{
Te6edf3startActivityTb4b4b4(Te6edf3mainTb4b4b4)Tb4b4b4;
Tb4b4b4} Tff7b72catch Tb4b4b4(Te6edf3Exception Te6edf3ignoredTb4b4b4) Tb4b4b4{
Tb4b4b4}
Te6edf3finishTb4b4b4(Tb4b4b4)Tb4b4b4;
Tb4b4b4}
Tb4b4b4}
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────